<?php
   if(isset($_POST['page']))
	{
		$pag = $_POST['page'];
                $id = $_POST['id'];
		include('../inc/fnc.php');
		include('../inc/constants.php');
	}
	else{
		$pag = 1;
	}
        echo "<h1>All Stories</h1>";
        $return = userallstories($id,$pag);
        echo $return;
?>